package com.ptone.messageCenter.common.enums;

public class Enums {


    /**
     * 删除状态
     */
    public enum DeleteStatus {
        NO_DELETE(0, "未删除"),
        IS_DELETE(1, "删除");
        public int code;
        public String description;

        DeleteStatus(int code, String description) {
            this.description = description;
            this.code = code;
        }
    }

    /**
     * 已读状态
     */
    public enum ReadStatus {
        NO_READ(0, "未读"),
        IS_READ(1, "已读");
        public int code;
        public String description;

        ReadStatus(int code, String description) {
            this.description = description;
            this.code = code;
        }
    }

    /**
     * 确认状态
     */
    public enum ConfirmStatus {
        NO_CONFIRM(0, "未确认"),
        IS_CONFIRM(1, "已确认");
        public int code;
        public String description;

        ConfirmStatus(int code, String description) {
            this.description = description;
            this.code = code;
        }
    }


    /**
     * 时间段
     */
    public enum Period {
        ALL(0, "全部"),
        YEAR(1, "年"),
        MONTH(2, "月");
        public int code;
        public String description;

        Period(int code, String description) {
            this.description = description;
            this.code = code;
        }
    }

}
